import csv

csv_file_path = 'F:/python programfile/pythonProject1/pc2/data/长沙生态动物园.csv'
line_count = 0

with open(csv_file_path, 'r', encoding='utf-8') as file:
    csv_reader = csv.reader(file)
    next(csv_reader)  # 跳过标题行
    for row in csv_reader:
        line_count += 1

print(f"长沙生态动物园.CSV文件包含 {line_count} 行数据（不包括标题行）。")
